#include "mainwindow.h"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent)
{
    if (objectName().isEmpty())
        setObjectName(QString::fromUtf8("MainWindow"));
    resize(480, 640);
    centralWidget = new CentralWidget(this);

    setCentralWidget(centralWidget);
    QMetaObject::connectSlotsByName(this);
}

MainWindow::~MainWindow()
{
    delete centralWidget;
}

void MainWindow::show()
{
    QMainWindow::show();
    centralWidget->fitContext();
}
